.plugin-meta__banner {
	position: relative;
		top: 0;
		left: -16px;
	width: calc( 100% + 32px );
	overflow: hidden;
	margin-top: -16px;
	margin-bottom: 16px;
	box-shadow: inset 0 0 2px 2px rgba( lighten( $gray, 10 ), 0.1 );
	background: rgba( lighten( $gray, 30 ), 0.3 );

	@include breakpoint( ">480px" ) {
		left: -24px;
		width: calc( 100% + 48px );
		margin-top: -24px;
		margin-bottom: 24px;
	}

	img {
		display: block;
		width: auto;
		max-height: 70vh;
		margin: 0 auto;
	}
}

.plugin-meta__information {
	display: flex;
	flex-direction: column;

	@include breakpoint( '>480px' ) {
		flex-direction: row;
	}
}

.plugin-meta__information {
	position: relative;
}

.plugin-meta__name {
	color: $gray-dark;
	font-size: 18px;
	font-weight: 600;
	line-height: 32px;
	white-space: pre;
	overflow: hidden;
	position: relative;

	&:after {
		@include long-content-fade( $size: 20% );
	}

	@include breakpoint( '>480px' ) {
		font-size: 24px;
		font-weight: 700;
		font-family: $serif;
	}

	.is-placeholder & {
		width: 200px;
		@include placeholder();
	}
}

.plugin-meta__detail {
	position: relative;
	flex-grow: 1;
	min-width: 0;
}

.plugin-meta__upgrade_nudge .upgrade-nudge.card {
	margin-top: 0;
}

.plugin-meta .card {
	margin: 0;
}

.plugin-meta__meta {
	color: $gray;
	white-space: pre;
	text-overflow: ellipsis;
	float: left;

	.is-placeholder & {
		width: 120px;
		@include placeholder();
	}
}

.is-placeholder .plugin-meta__author {
	color: transparent !important;
}

.plugin-meta__actions {
	border-top: 1px solid lighten( $gray, 30% );
	flex-grow: 1;
	flex-shrink: 0;
	margin-top: 16px;
	padding-top: 16px;

	.has-button & {
		position: initial;
		right: inherit;
	}

	@include breakpoint( '>480px' ) {
		min-width: 22%;
		border: none;
		margin: 0;
		padding: 0;
		text-align: right;
		justify-content: flex-end;
		align-self: flex-start;

		.plugin-action {
			margin-top: 16px;
		}

		.plugin-action:first-child {
			margin-top: 8px;
		}
	}

	.form-toggle__label-content {
		@include breakpoint( '<480px' ) {
			margin-left: 0;
		}
	}

	.plugin-action__label {
		@include breakpoint( '<480px' ) {
			flex-grow: 2;
			font-size: 11px;
		}
	}
}

.plugin-meta__version-notice {
	margin-top: -9px;

	@include breakpoint ( ">480px" ) {
		margin-top: -15px;
	}
}

.plugin-meta__actions .plugin-item__count {
	padding: 0;
}

.plugin-meta__actions .plugin-meta__active {
	color: $alert-green;
}

.plugin-meta__action-links {
	display: flex;
	flex-wrap: wrap;
	clear: both;
	padding-top: 12px;

	.button {
		margin-top: 12px;
		flex-shrink: 0;
		margin-right: 10px;
	}
}

a.plugin-meta__settings-link {
	color: $gray;
	display: block;
	font-size: 11px;
	line-height: 16px;
	margin: 16px 9px 0 0;
	text-transform: uppercase;

	@include breakpoint( '>480px' ) {
		display: inline-block;
	}

	.gridicon {
		float: right;
		position: relative;
			left: 7px;
			top: -3px;
	}
}
